package cn.znzz.cjm.org.mapper;

import cn.znzz.cjm.basic.mapper.BaseMapper;
import cn.znzz.cjm.org.domain.Employee;

/**
 * 定义员工 数据库操作接口
 */
public interface EmployeeMapper extends BaseMapper<Employee> {
    //通过登录名匹配username，phone。email
    Employee loadByUser(String username);

    Employee loadByLoginInfoId(Long id);

    //基本的crud代码被抽取
}
